/*
 Made by nana
 */

var status = -1;

function action(mode, type, selection) {
    if (mode == 1) {
        status++;
    } else {
        status--;
    }
    if (status == 0) {
    ms.EnableUI(0);
	ms.enableActions();
	ms.dispose();
	}
}

